package com.up.stores.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Request对象", description="")
public class RequestDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "关联请求id")
    @TableId(value = "req_id", type = IdType.AUTO)
    private Integer reqId;

    @ApiModelProperty(value = "用户账号")
    private String norName;

    @ApiModelProperty(value = "用户id")
    private Integer norId;

    @ApiModelProperty(value = "管理员账号")
    private String admName;

    @ApiModelProperty(value = "申请人姓名")
    private String name;

    @ApiModelProperty(value = "申请人头像")
    private String avatar;

    @ApiModelProperty(value = "申请人手机号")
    private String phone;

    @ApiModelProperty(value = "请求状态，0-待审批，1-驳回，2-通过")
    private Integer reqStatus;

    @ApiModelProperty(value = "创建时间")
    private Date createdTime;

    @ApiModelProperty(value = "最后修改时间")
    private Date modifiedTime;

    @ApiModelProperty(value = "创建人")
    private String createdUser;

    @ApiModelProperty(value = "最后修改人")
    private String modifiedUser;


}